package com.atguigu.mybatisplus.model.query;

import com.atguigu.mybatisplus.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "角色分页查询对象")
public class RolePageQuery extends BasePageQuery {
    /**
     * 搜索关键词
     */
    @Schema(description = "关键字(用户名/昵称/手机号)")
    private String keywords;
    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDateTime beginTime;
    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
}
